'''
an entry in the api call table will have the following format

{
'url': url of the REST call,
'method': 'GET' or 'POST' etc,

#The following are optional


#If not specified then the raw data will be returned
returntype: the datatype that is expected to be returned


#If no
#For cookie need a way to get access to the cookie so the user can pass it in as
#a possible parameter for security reasons.
authtype: 'HTTPBasic' or 'OAuth' or 'Cookie' or None



}
'''

class ProfilePhotoUrls:
    smedium_photo_url = str
    small_photo_url = str
    tiny_photo_url = str
    medium_photo_url = str
    large_photo_url = str

class Sender:
    username = str
    permalink = str
    short_name = str
    max_upload_mb = int
    first_name = str
    profile_photo_urls = ProfilePhotoUrls
    id = int
    is_pro = bool

class Note:
    body = str
    permalink = str
    sender = Sender
    num_replies = str
    display_since = str
    timestamp = int
    seconds_since = int
    num_recipients = str
    

class NoteRoot:
    notes = [Note]    

api = [
    {
    'url':'http://twitter.com/statuses/public_timeline.json',
    'method':'GET'
    },
    {
    'url':'http://api.pownce.com/2.0/note_lists/evanlong.json',
    'method':'GET',
    'auth':None,
    'return':
    },
]

